package com.shsxt.model;

import java.text.SimpleDateFormat;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;


@SuppressWarnings("serial")
public class UserFeedQuery extends BaseQuery {
	private String phoneNumber;
	private String informationContent;
	@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss", timezone="GMT+8")
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	private String feedbackTime;
	@Override
	public String toString() {
		return "UserFeedQuery [phoneNumber=" + phoneNumber + ", informationContent=" + informationContent
				+ ", feedbackTime=" + feedbackTime + "]";
	}
	public UserFeedQuery() {
		super();
		// TODO Auto-generated constructor stub
	}
	public UserFeedQuery(String phoneNumber, String informationContent, String feedbackTime) {
		super();
		System.err.println("开始"+phoneNumber+informationContent+feedbackTime);

		this.phoneNumber = phoneNumber;
		this.informationContent = informationContent;
		this.feedbackTime = feedbackTime;
	}
	public String getPhoneNumber() {
		return phoneNumber;
	}
	public void setPhoneNumber(String phoneNumber) {
		this.phoneNumber = phoneNumber;
	}
	public String getInformationContent() {
		return informationContent;
	}
	public void setInformationContent(String informationContent) {
		this.informationContent = informationContent;
	}
	public String getFeedbackTime() {
		return feedbackTime;
	}
	public void setFeedbackTime(Date feedbackTime) {
		this.feedbackTime =new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(feedbackTime) ;
	}
	
	
	
}
